package com.buleqr.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改密码")
public class UpdatePwdReq {
    @NotNull(message = "原密码不能为空")
    @ApiModelProperty("原密码")
    private String password;
    @NotNull(message = "新密码不能为空")
    @ApiModelProperty("新密码")
    private String password1;
    @NotNull(message = "确认密码不能为空")
    @ApiModelProperty("确认密码")
    private String password2;
}
